package com.rui.patterns.iterator;

/**
 * @author : [锐神NO.3]
 * @version : [v1.0]
 * @className : Student
 * @createTime : [2022/2/24 16:34]
 * @description : [描述该类的功能]
 */

public class Student {

    private String name;
    private String number;

    public Student() {
    }

    public Student(String name, String number) {
        this.name = name;
        this.number = number;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", number='" + number + '\'' +
                '}';
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }
}
